package com.wenguo.bussines.service;

import java.util.List;
import java.util.Map;

import com.wenguo.bussines.model.User;

public interface UserService {

	public User findUserById(String id);

	public Long findUserCount(User user);
	
	public List<User> findUserByPage(Map<Object, Object> map);
    
    public List<User> findUserByEntity(User user);

    public List<User> findUserByMap(Map<Object, Object> map);

    public List<User> findUserByDefined(Map<Object, Object> map);
    
    public boolean insertUser(User user);
    
    public boolean updateUser(User user);

    public boolean updateUserPwd(User user);
    
    public boolean deleteUser(String id);
    
}
